lib/repo: Fix double-set-error in min-free-space-size code
authorColin Walters <walters@verbum.org>
Mon, 18 Jun 2018 14:36:33 +0000 (10:36 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 19 Jun 2018 18:29:31 +0000 (18:29 +0000)
commita2b08f934267500d05bee87bb4388944cda0a700
tree2100a60387d63d526596f8bacdda5c96f96dafba
parentcc5254ac34219e187e6963314248308e4a396152
lib/repo: Fix double-set-error in min-free-space-size code

We need to pass `NULL` as the error, we only care if the key exists;
otherwise we'll try to set the error twice.

Closes: #1632
Approved by: jlebon
src/libostree/ostree-repo.c